CC=gcc
CFLAGS=-Wall -g
LIBPATH=../../..
INCLS=-I$(LIBPATH)/include
LIBS=-L$(LIBPATH)/lib -lsoar_g

BINS=splay test_splay rb test_rb test_list

all : $(BINS)

$(BINS) : % : %.c
	$(CC) $(CFLAGS) $(INCLS) -o $@ $< $(LIBS)
	chmod 744 $@ 

clean :
	rm -f core* $(BINS)
